package JVM.classFileFormat;


import java.nio.charset.StandardCharsets;

/**
 * @className: Binary2U8
 * @Description:
 * @Author: wangyifei
 * @Date: 2022/8/6 17:09
 */
public class Binary2U8 {
    public static void main(String[] args) {
//        byte[] b = { 0b00111100 , 0b01101001 , 0b01101110 , 0b01101001 , 0b01110100 , 0b00111110};
        //28 2956
//        byte[] b = { 0b00101000 , 0b00101001 , 0b01010110 };
//        43 6f64 65
//        byte[] b = { 0x43 , 0x6f, 0x64 , 0x65};
//        byte[] b = { 0x4c , 0x69, 0x6e , 0x65,  0x4e , 0x75 , 0x6d , 0x62 , 0x65 , 0x72 ,  0x54 , 0x61 ,  0x62 , 0x6c ,  0x65};
//        0x53 , 0x6f , 0x75 , 0x72 ,  0x63 , 0x65 ,  0x46 , 0x69 ,  0x6c , 0x65
//        byte[] b = { 0x53 , 0x6f , 0x75 , 0x72 ,  0x63 , 0x65 ,  0x46 , 0x69 ,  0x6c , 0x65 } ;
//        0x45 ,  0x6d , 0x70 , 0x74 , 0x79 , 0x43 , 0x6c , 0x61 , 0x73 ,  0x73 , 0x2e ,  0x6a , 0x61  , 0x76 , 0x61
//         byte[] b = { 0x45 ,  0x6d , 0x70 , 0x74 , 0x79 , 0x43 , 0x6c , 0x61 , 0x73 ,  0x73 , 0x2e ,  0x6a , 0x61  , 0x76 , 0x61} ;
        // 4a56 4d2f 456d 7074 7943 6c61 7373
//        byte[] b = { 0x4a , 0x56 , 0x4d , 0x2f , 0x45 , 0x6d , 0x70 , 0x74 , 0x79 , 0x43 , 0x6c , 0x61 , 0x73 , 0x73} ;
        byte[] b = { 0x6a , 0x61 , 0x76 , 0x61 , 0x2f , 0x6c , 0x61 , 0x6e , 0x67 , 0x2f , 0x4f , 0x62 , 0x6a , 0x65 , 0x63 , 0x74 };
        String ss = new String(b , StandardCharsets.UTF_8);
        System.out.println(ss);
    }
}
